package Units;

import java.util.Random;

public class Swordman extends Unit {
	
	public Swordman(){
		this._health = 120;
		this._minDamage = 8;
		this._maxDamage = 20;
		setTag(997);
	}
	
	@Override
	public int dealDamage(){
		Random r = new Random();
		return r.nextInt(_maxDamage - _minDamage) + _minDamage;
	}
}
